Release 10.1A: OpenEdge Development:
ADM Reference
cancelObject
Procedure that cancels an object.
Location: containr.p Parameters: None Notes: None
- If this is the window container or a virtual container then override and do not call SUPER. If not a window/virtual container, cancel and undo all container targets and then destroy. Published from containerTargets or called directly.
- There is a slight overhead in this construct as destroyObject (called from exitObject apply close) does a publish confirmExit, which really is unnecessary after this has published confirmCancel. The reason is that destroyObject might be called directly.
- We currently have to call exitObject as AppBuilder’s WAIT-FOR complains if we destroy the object directly. Even apply close to target-procedure does not trigger the WAIT-FOR. It seems as this has to be fired from the actual instance. (exitObject should be local in all container instances) This might very well be a problem for application WAIT-FOR as well.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |